package ru.pbem.olympia.core;

import java.util.Collections;
import java.util.Set;

/**
 * User: Roman Pavlov
 * Date: 09-Sep-2010
 * Time: 19:14:10
 */
public class ObjectType implements Type{
    private String name;
    private Set<Characteristic> characteristics;

    public ObjectType(String name, Set<Characteristic> characteristics) {
        this.name = name;
        this.characteristics = characteristics;
    }

    public String getName() {
        return name;
    }

    public Set<Characteristic> getCharacteristics() {
        return Collections.unmodifiableSet(characteristics);
    }
}
